package cn.com.api.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_circle_post;

import cn.com.api.mapper.ApiU_circle_postMapper;

import cn.com.api.service.ApiU_circle_postService;
import cn.com.api.service.impl.base.U_circle_postServiceImplBase;
import cn.com.util.PageInfo;

/**
 * 
 **/
@Service
public class ApiU_circle_postServiceImpl extends U_circle_postServiceImplBase implements ApiU_circle_postService {
	@Autowired
	private ApiU_circle_postMapper apiU_circle_postMapper;

	// 新增对象后返回记录ID
	public int U_circle_postInsertion(ApiU_circle_post u_circle_post) {
		return this.apiU_circle_postMapper.U_circle_postInsertion(u_circle_post);
	}

	@Override
	public List<Map<String, Object>> findU_circle_postsByMap(HashMap condition) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<ApiU_circle_post> findU_circle_postList(Map map, PageInfo pageInfo) {
		return apiU_circle_postMapper.findU_circle_postListPage(map, pageInfo);
	}

	public ApiU_circle_post findU_circle_postsByMap(Map map) {
		return apiU_circle_postMapper.findU_circle_postsByMap(map);
	}

}
